import request from '@/utils/request'

// 查询仰口成品留样登记-改列表
export function listYkg_retention(query) {
  return request({
    url: '/Laboratory/ykg_retention/list',
    method: 'get',
    params: query
  })
}

// 查询仰口成品留样登记-改详细
export function getYkg_retention(id) {
  return request({
    url: '/Laboratory/ykg_retention/' + id,
    method: 'get'
  })
}

// 新增仰口成品留样登记-改
export function addYkg_retention(data) {
  return request({
    url: '/Laboratory/ykg_retention',
    method: 'post',
    data: data
  })
}

// 修改仰口成品留样登记-改
export function updateYkg_retention(data) {
  return request({
    url: '/Laboratory/ykg_retention',
    method: 'put',
    data: data
  })
}

// 删除仰口成品留样登记-改
export function delYkg_retention(id) {
  return request({
    url: '/Laboratory/ykg_retention/' + id,
    method: 'delete'
  })
}
